package com.sz.app.edi.service.receive.rest;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.beans.factory.annotation.Autowired;

//@Component
public class OrderMqRouteBuilder extends RouteBuilder {
    @Autowired
    private OrdOrderProcessor ordOrderProcessor;
    @Override
    public void configure() throws Exception {
        from("activemq:sample.queue").process(ordOrderProcessor);
    }
}